home *** CD-ROM | disk | FTP | other *** search
/ Monster Media 1994 #2 / Monster Media No. 2 (Monster Media)(1994).ISO / utils1 / gentree.zip / GENTREE.H < prev    next >
Text File  |  1994-05-26  |  2KB  |  35 lines

  1. // GENTREE.H
  2. // Copyright (C) Paul Kimmel 1994
  3. // All Rights Reserved
  4.  
  5. /***********************************************************************
  6.  GENTREE - Lets you design your own customized OS commands.  GENTREE simply
  7.  traverses a DOS tree given a starting path and the res is up to you.
  8.  Have you ever wanted to delete all *.BAK files on a disk? Well with
  9.  GENTREE you can run. For example, executing GENTREE with the following
  10.  arguments: GENTREE C: DEL *.BAK will search the entire disk executing
  11.  the program DEL with arguments *.BAK. Simply follow the syntax required
  12.  by GENTREE and it will do whatever you want it to.
  13.  
  14.  SYNTAX: gentree path prog_name arg1,arg2,arg3...
  15.  Where path is any starting DOS path (e.g. C:, C:\DOS, D:\DOC)
  16.  Where prog_name is any non-TSR executable, command, or batch program
  17.  Where arg1,arg2 etc... are arguments you want that program (progr_name)
  18.     to use as its arguments.
  19.  
  20.  The second way to use GENTREE is with the source code. The sample executable
  21.  program bundled with GENTREE does what is mentioned above. But provide
  22.  GENTREE with your own function and it becomes something completely new.
  23.  
  24.  Just follow the example in the source code adding your function argument
  25.  and compile and link.
  26.  
  27.  GENTREE is available in PASCAL for 19.95 + shipping and handling.
  28.  *************************************************************************/
  29.  
  30. #if !defined(__GENTREE_H)
  31. #define __GENTREE_H
  32. // The general tree starting point
  33. void GenTree( void (*f)(), char* );
  34.  
  35. #endif